import 'package:get/get.dart';
import 'package:oramemo/pages/record/createsetting/createsetting_view.dart';

import 'create_state.dart';

class CreateLogic extends GetxController {
  final CreateState state = CreateState();

  void switchToRecording() {
    // 切换到录音页面的逻辑
    Get.toNamed('/recording');
  }

  void onAddMemoir() {
    // 添加回忆录的逻辑
    // Get.toNamed('/add_memoir');
    Get.to(CreatesettingPage());
  }

  void onAddStory() {
    // 添加故事的逻辑
    Get.to(CreatesettingPage());
  }
}
